<div class="m-tab">
    <a ms-for="(index, el) in @list" 
        :attr="{href: @el.href ||'javascript:;', title: @el.text, 'data-id': @el.id}" 
        :class="{current: index==@active,last:(index==@list.length-1)}" 
        :click-1="@active=index" 
        :click-2="@clickfn(index)" 
        class="item">
        <span>{{@el.text}}</span>
    </a>
</div>
